package com.plian.system.dto.qg.subsidiary;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.entity.qg.subsidiary.SubsidiaryMixedReform;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 子企业混合所有制改革进展数据传输对象实体类
 *
 * @author jianglei
 * @since 2019-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SubsidiaryMixedReformDTO extends SubsidiaryMixedReform {
    private static final long serialVersionUID = 1L;

    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    private Date startTime;

    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    private Date endTime;

    /**
     * 员工持股区间
     */
    private BigDecimal minEmployeeStockRatio;

    private BigDecimal maxEmployeeStockRatio;

    /**
     * 一级企业id
     */
    private String companyId;

    private List<String> companyIds;

    private List<String> functionalCategoryIds;

    private List<String> mixedModeIds;

    private String companyName;

}
